package com.zcb.agrimarket.mapper;

import com.zcb.agrimarket.pojo.RepairLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

/**
* @author KarrySmile
* @description 针对表【repair_log(维修记录表)】的数据库操作Mapper
* @createDate 2024-04-05 15:34:48
* @Entity generator.domain.RepairLog
*/
public interface RepairLogMapper extends BaseMapper<RepairLog> {
    @Update("update repair_log set state=#{state} where id = #{id}")
    Boolean updateLogState(long id, int state);

    @Update("update repair_log set repair_description=#{repairDescription} where id = #{id}")
    Boolean updateDescription(long id,String repairDescription);
}




